package com.tengju.user.application.login;


import com.tengju.user.domain.model.login.LoginForm;
import com.tengju.user.domain.model.login.LoginResult;
import com.tengju.user.domain.model.login.UserAccount;

/**
 * @author wuziyang
 */
public interface LoginStrategy {


    LoginResult login(LoginForm loginForm, UserAccount userAccount);

    LoginResult registerAndLogin(LoginForm loginForm);
}
